package com.yonyougov.cruxtestcase.testcase.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
public class PermissionResourceBusyDto implements Serializable {
    @NotBlank
    private String functionId;
    private List<Long> functionGroups;
    private List<Resource> resources;

    @Data
    public static class Resource implements Serializable {
        private String resourceCode;
        private Long resourceId;
    }
}
